package ${package.Service};

import ${package.Entity}.${entity};

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName}
<#else>
public interface ${table.serviceName}  {

    /**
    * 根据id强制更新用setter设过值的属性,哪怕设为null,没有用setter设置的属性不更新
    * 例子：
    * <pre>{@code
    *   Dict dict = UpdateEntity.of(Dict.class,1L);
    * 	 dict.setDictDescr("33333");
    * 	 dict.setDictGroup(null);
    * 	 dictService.forceUpdateById(dict);
    *
    * }
    * </pre>
    *
    * @param dict
    */
    int forceUpdateById(Dict dict);
}
</#if>
